import 'virtual:uno.css'

import 'vant/lib/index.css';

import { setupLibs } from "./utils/index";
import { setupHttpInterceptor } from "@/api/http.interceptor";
import { createSSRApp } from "vue";
import * as Pinia from 'pinia';
import App from "./App.vue";

export function createApp() {
  const app = createSSRApp(App);
  setupLibs(app);
  setupHttpInterceptor(app);
  return {
    app,
    Pinia
  };
}
